this.queueWriteInt = 500; //Time to wait before running through adding items to queue. This offset allows mass changes to skip waiting for writes to the DB.
this.tagUpdateTimeouts = new Object();
this.startUpSync;
this.updatesTmp = new Object();
this.writeQueue = new Object();
}
ISRILsync.prototype = {
_init : function() {
ISRILglobals.syncInterval = setTimeout('ISRILsync.sendUpdates()', ISRILsync.syncIntervalMain); //attempt to send every 15 minutes
if (!ISRILglobals.inited) {
ISRILglobals.startUpSync = setTimeout('ISRILsync.getUpdatesStart();', 10000); //get updates 10 seconds after startup
ISRILsync.uSyncIntervalCheck();
}
ISRILglobals.noSyncId = false;
},
// --- //
ReadySync : function(inc) {
if (ISRILsync.syncTime) { clearTimeout(ISRILsync.syncTime); }